package com.ruoyi.project.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.domain.entity.Dingdan;
import com.ruoyi.project.domain.dto.DingdanDTO;

import java.util.List;

/**
 * 订单(Dingdan)表服务接口
 *
 * @author yanweichao
 * @since 2025-06-20
 */
public interface DingdanService extends IService<Dingdan> {

    Page<Dingdan> listPage(Page<Dingdan> page, DingdanDTO param);

    List<Dingdan> queryList(DingdanDTO param);

    DingdanDTO getDtoById(Integer id);

    Dingdan genNo();

    boolean saveOrUpdate(DingdanDTO param);
}
